package com.tc.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Outward对象", description = "用户对象")
public class Outward implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "逻辑删除标记（0：显示，1：隐藏）")
    private Integer isDeleted;

    @ApiModelProperty(value = "客户Id")
    private Integer customerId;

    @ApiModelProperty(value = "外出事由")
    private String outgoingReason;

    @ApiModelProperty(value = "外出时间")
    private Date outgoingTime;

    @ApiModelProperty(value = "预计回院时间")
    private Date expectedReturnTime;

    @ApiModelProperty(value = "实际回院时间")
    private Date actualReturnTime;

    @ApiModelProperty(value = "陪同人")
    private String escorted;

    @ApiModelProperty(value = "与老人关系")
    private String relation;

    @ApiModelProperty(value = "陪同人电话")
    private String escortedTel;

    @ApiModelProperty(value = "审批状态 0-已提交 1-同意 2-拒绝")
    @TableField("auditstatus") // 明确指定数据库字段名为auditstatus
    private Integer auditStatus;

    @ApiModelProperty(value = "审批人")
    @TableField("auditperson") // 明确指定数据库字段名为auditperson
    private String auditPerson;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "审批时间")
    @TableField("audittime") // 明确指定数据库字段名为audittime
    private Date auditTime;

}
